package com.ruoyi.agriculture.zs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评论对象 zs_question_comment
 * 
 * @author zs
 * @date 2025-07-27
 */
public class ZsQuestionComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论id */
    private Long zsCommentId;

    /** 父评论id */
    @Excel(name = "父评论id")
    private Long parentId;

    /** 问题id */
    @Excel(name = "问题id")
    private Long zsQuestionId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 评论人id */
    @Excel(name = "评论人id")
    private Long userId;

    /** 评论人姓名 */
    @Excel(name = "评论人姓名")
    private String userName;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String zsCommentContent;

    public void setZsCommentId(Long zsCommentId) 
    {
        this.zsCommentId = zsCommentId;
    }

    public Long getZsCommentId() 
    {
        return zsCommentId;
    }

    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }

    public void setZsQuestionId(Long zsQuestionId) 
    {
        this.zsQuestionId = zsQuestionId;
    }

    public Long getZsQuestionId() 
    {
        return zsQuestionId;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setZsCommentContent(String zsCommentContent) 
    {
        this.zsCommentContent = zsCommentContent;
    }

    public String getZsCommentContent() 
    {
        return zsCommentContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zsCommentId", getZsCommentId())
            .append("parentId", getParentId())
            .append("zsQuestionId", getZsQuestionId())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("zsCommentContent", getZsCommentContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
